Live Range Hole Allocation in Dynamic Binary Translation
نویسندگان
چکیده
Dynamic Binary Translation (DBT) has been used as an approach to transparently run code on different architectures and has generally made use of runtime information to perform effective dynamic compiler optimization. Dynamic optimization techniques are hard to design, as they have to improve code performance under stringent runtime constraints. In this paper we present preliminary work on a code optimization technique called Hole Allocation. Our goal with this paper is to introduce and highlight its potential, and to point new directions for improvement. Hole Allocation uses runtime information, collected by DBTs, to identify free register ranges (holes) which could be target of register promotion. Preliminary experiments conducted with the SPEC CPU2000 benchmark, using only one memory access pattern, shows that Hole Allocation can achieve, for some program runs, moderate speedup-ups, but also reveal that performance can suffer in some cases, and needs to be addressed.
منابع مشابه
Register Allocation for QEMU Dynamic Binary Translation Systems
Binary translation is an important step to solve the code migration, QEMU is more advanced and efficient binary translation system. It uses lighter TCG technology to achieve dynamic binary translation but analysis of the TCG internal process, we found that the excessive use of temporary variables meaningless in the TCG intermediate code, the backend generates host code does not take into accoun...
متن کاملMTCrossBit: A Dynamic Binary Translation System Using Multithreaded Optimization Framework
Conventional optimization algorithms which are widely used in static compiler—including peephole, instruction selection, Graph coloring register allocation, and so on—cannot be effectively implemented in DBT (Dynamic Binary Translation) system since they bring too much overhead in run time. MTCrossBit is an experimental-multithreaded DBT optimization framework which utilizes an extra thread for...
متن کاملRevisiting Event Horizon Finders
Event horizons are the defining physical features of black hole spacetimes, and are of considerable interest in studying black hole dynamics. Here, we reconsider three techniques to localise event horizons in numerical spacetimes: integrating geodesics, integrating a surface, and integrating a levelset of surfaces over a volume. We implement the first two techniques and find that straightforwar...
متن کاملInvestigating Translation Strategies of Culture-Specific Items in Alignment with Nord’s Binary Translation Typology: A Case Study of Unaccustomed Earth
Culture is an extremely complex concept. Translating cultural elements is a demanding task due to the fact that these elements comprise specific meanings and implications belonging exclusively to the lan-guage and culture from which they have emerged. Regarding this point, the present article investigated the strategies employed for translating culture-specific items (CSIs) in an English nov...
متن کاملRegister Liveness Analysis for Optimizing Dynamic Binary Translation
Dynamic binary translators compile machine code from a source architecture to a target architecture at run time. Due to the hard time constraints of just-in-time compilation only highly efficient optimization algorithms can be employed. Common problems are an insufficient number of registers on the target architecture and the different handling of condition codes in source and target architectu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011